﻿using Ducu.GLB.Global.Story;
using Ducu.SRV.ServiceInteface;
using Ducu.SRV.ViewModel;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Web;

namespace Ducu.SRV.UIDevService
{
    public class RegisterService : IRegisterService
    {
        public void Do(RegisterModel model)
        {
            //do nothing
        }

        public bool IsUserNameExist(string userName)
        {
            if (userName == User.NAME_YEZI ||
                userName == User.NAME_ABU ||
                userName == HttpContext.Current.Server.HtmlEncode(User.NAME_KESHUICHONG))
            {
                return true;
            }
            return false;
        }
    }
}
